package obj;

/**
 * @author:Administrator
 * @date:2022/1/15
 * @describe:
 */
public class Master {

    public void feed(Dog dog) {
        dog.eat();
    }

    public void feed(Rabbit rabbit) {
        rabbit.eat();
    }

    public void feed(Cat cat) {
        cat.eat();
    }
}
